package cn.csc.module.shop.convert.hotsearch;

import java.util.*;

import cn.csc.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.csc.module.shop.controller.admin.hotsearch.vo.*;
import cn.csc.module.shop.dal.dataobject.hotsearch.ShopHotSearchDO;

/**
 * 热搜 Convert
 *
 * @author liuchuang
 */
@Mapper
public interface ShopHotSearchConvert {

    ShopHotSearchConvert INSTANCE = Mappers.getMapper(ShopHotSearchConvert.class);

    ShopHotSearchDO convert(ShopHotSearchCreateReqVO bean);

    ShopHotSearchDO convert(ShopHotSearchUpdateReqVO bean);

    ShopHotSearchRespVO convert(ShopHotSearchDO bean);

    List<ShopHotSearchRespVO> convertList(List<ShopHotSearchDO> list);

    PageResult<ShopHotSearchRespVO> convertPage(PageResult<ShopHotSearchDO> page);

    List<ShopHotSearchExcelVO> convertList02(List<ShopHotSearchDO> list);

    ShopHotSearchExcelVO map(ShopHotSearchDO value);

}
